﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PhilippDLL
{
    public class Diploma
    {
        public string clientName;
        public string topicOfDiploma;
        public int amountOfPage;
        public int price;

        public Diploma() 
        { 
            this.amountOfPage = 0; 
            this.clientName = "null"; 
            this.price = 0; 
            this.topicOfDiploma = "null"; 
        }        
        public Diploma(string clientName)
            :this()
       {
            this.clientName = clientName;
       }
        public Diploma(string clientName, string topicOfDiploma)
            : this(clientName)
        {
            this.clientName = clientName;
            this.topicOfDiploma = topicOfDiploma;
        }
        public Diploma(string clientName, string topicOfDiploma, int amountOfPage)
            : this(clientName,topicOfDiploma)
        {
            this.clientName = clientName;
            this.topicOfDiploma = topicOfDiploma;
            this.amountOfPage = amountOfPage;
        }
        public Diploma(string clientName, string topicOfDiploma,int amountOfPage,int price)
            : this(clientName,topicOfDiploma,amountOfPage)
        {
            this.clientName = clientName;
            this.topicOfDiploma = topicOfDiploma;
            this.amountOfPage = amountOfPage;
            this.price = price;
        }
    }

    public struct Car
    {
        public string name;
        public int amountOfWhiles;
        public int hight;
        public int weight;       

        public  Car(string name,int amountOfWhiles,int hight,int weight)
        {
            this.name = name;
            this.amountOfWhiles = amountOfWhiles;
            this.hight = hight;
            this.weight = weight;
        }
        
    }
    

}
